package com.example.yt;

import com.alibaba.fastjson.JSONObject;

public class ComputeJSONObject {
    public JSONObject initObject (){
        JSONObject object = new JSONObject();
        object.put("accessToken", "123456");
        object.put("openId", "openId");
        object.put("clientId", "202308231731");
        object.put("relevancyType", "202308231731");
        object.put("newOauthFlag", "1");
        if (!object.isEmpty()){
            object = initObjects(object);
        }
        return object;
    }

    private JSONObject initObjects(JSONObject object) {
        object.put("certNo", "123333");
        object.put("custName", "admin");
        return object;
    }
}
